- if object.errors.any?
  .alert.alert-danger.alert-dismissable
    = button_tag(raw('&times;'), data: { dismiss: 'alert', hidden: 'true' }, class: 'close')
    %ul
      - object.errors.full_messages.each do |message|
        %li= message
